<html>
<head><meta charset="utf-8"><title>Why are these type aliases duplicated · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Why.20are.20these.20type.20aliases.20duplicated.html">Why are these type aliases duplicated</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="236543825"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Why%20are%20these%20type%20aliases%20duplicated/near/236543825" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Why.20are.20these.20type.20aliases.20duplicated.html#236543825">(Apr 28 2021 at 17:08)</a>:</h4>
<p><a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_data_structures/fx/type.FxHashMap.html">https://doc.rust-lang.org/nightly/nightly-rustc/rustc_data_structures/fx/type.FxHashMap.html</a><br>
<a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_data_structures/stable_map/type.FxHashMap.html">https://doc.rust-lang.org/nightly/nightly-rustc/rustc_data_structures/stable_map/type.FxHashMap.html</a></p>



<a name="236544225"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Why%20are%20these%20type%20aliases%20duplicated/near/236544225" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Why.20are.20these.20type.20aliases.20duplicated.html#236544225">(Apr 28 2021 at 17:11)</a>:</h4>
<p><code>stable_map</code> uses <code>pub use rustc_hash::FxHashMap;</code> for some reason. This should be private.</p>



<a name="236545472"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Why%20are%20these%20type%20aliases%20duplicated/near/236545472" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Why.20are.20these.20type.20aliases.20duplicated.html#236545472">(Apr 28 2021 at 17:19)</a>:</h4>
<p>the fix is deleting one <code>pub</code> in <code>stable_map</code>?</p>



<a name="236548182"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Why%20are%20these%20type%20aliases%20duplicated/near/236548182" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Why.20are.20these.20type.20aliases.20duplicated.html#236548182">(Apr 28 2021 at 17:37)</a>:</h4>
<p>Yes</p>



<a name="236571539"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Why%20are%20these%20type%20aliases%20duplicated/near/236571539" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Why.20are.20these.20type.20aliases.20duplicated.html#236571539">(Apr 28 2021 at 20:18)</a>:</h4>
<p>I can't seem to find the right <code>pub</code> to remove</p>



<a name="236572727"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Why%20are%20these%20type%20aliases%20duplicated/near/236572727" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Why.20are.20these.20type.20aliases.20duplicated.html#236572727">(Apr 28 2021 at 20:26)</a>:</h4>
<p>actually nm fwiw</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>